<?php
namespace Home\Controller;
use Think\Controller;
header("content-type:text/html;charset=utf-8");
class NewsController extends LoginTrueController {
    public function index(){
        $id=$_GET['id'];
        $order='id desc';
        $new=M('news')->order($order)->select($id);
		// print_r($new);die;
        $this->assign('new',$new);
        $this->display();
	}
}